// OpeningDialog.cpp : implementation file
//

#include "stdafx.h"
#include "AdminTool.h"
#include "OpeningDialog.h"
#include "AdminToolDlg.h"


// COpeningDialog dialog

IMPLEMENT_DYNAMIC(COpeningDialog, CDialog)

COpeningDialog::COpeningDialog(CWnd* pParent /*=NULL*/)
    : CDialog(COpeningDialog::IDD, pParent)
{

}

COpeningDialog::~COpeningDialog()
{
}

void COpeningDialog::DoDataExchange(CDataExchange* pDX)
{
    CDialog::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(COpeningDialog, CDialog)
    ON_BN_CLICKED(IDC_OPEN_QUESTION_LIBRARY, &COpeningDialog::OnBnClickedOpenQuestionLibrary)
    ON_BN_CLICKED(IDC_OPEN_ANSWER_DATABASE, &COpeningDialog::OnBnClickedOpenAnswerDatabase)
END_MESSAGE_MAP()


// COpeningDialog message handlers

void COpeningDialog::OnBnClickedOpenQuestionLibrary()
{
    // TODO: Add your control notification handler code here
    static_cast<CAdminToolDlg *>(GetParentOwner())->OnFileOpenQuestionLibrary();
}

void COpeningDialog::OnBnClickedOpenAnswerDatabase()
{
    // TODO: Add your control notification handler code here
    static_cast<CAdminToolDlg *>(GetParentOwner())->OnFileOpenAnswerDatabase();
}
